home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5749 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.3 KB  |  34 lines

  1. Newsgroups: comp.lang.c++
  2. Path: info.physics.utoronto.ca!news
  3. From: Andrew Datars <datars@tiger.physics.utoronto.ca>
  4. Subject: Visual C++ doesn't support complex
  5. Message-ID: <31178609.41C6@tiger.physics.utoronto.ca>
  6. Nntp-Posting-Host: husky.physics.utoronto.ca
  7. Sender: news@info.physics.utoronto.ca (System Administrator)
  8. Mime-Version: 1.0
  9. X-Mailer: Mozilla 2.0b6a (X11; I; IRIX64 6.0.1 IP26)
  10. Content-Type: text/plain; charset=us-ascii
  11. Organization: Dept. of Physics, Univ. of Toronto
  12. Date: Tue, 6 Feb 1996 16:47:05 GMT
  13. Content-Transfer-Encoding: 7bit
  14.  
  15. Has anyone noticed that MS Visual C++ doesn't have a complex class?
  16.  
  17. I just started working with version 4.0, and I was absolutely SHOCKED
  18. that the library doesn't support complex functions, nor is there a
  19. complex class anywhere. There is a _complex struct, which isn't very
  20. much. Oddly enough the only place complex is mentioned in the
  21. documentation is as an example for friend functions, where they sketch
  22. out an implementation of complex.  :)
  23.  
  24. Can anyone help me with a simple workaround. Apparently I can BUY
  25. complex stuff from Visual Numerics, but since it would only take me
  26. a day to make it, I probably won't buy it.
  27.  
  28. Any comments ????
  29.  
  30. -- 
  31. Andrew Datars    (datars@tiger.physics.utoronto.ca)
  32. Quantum Transport/General Computer Helper             phone:(416)978-6185
  33. Dept. of Physics, Univ. of Toronto                 fax:  (416)978-2537
  34.